import React from 'react'

type Props = {}

const App = (props: Props) => {
  
  //去重
  const arr=[1,1,1,2,2,2,3];
  const arr1=new Set(arr)
  console.log("去重:",arr1);
  
  return (
    <div>App</div>
  )
}

export default App